<template>
  <div>
    <div>
      <div @click="clickDiv()">
        <button @click.stop="click()">按钮</button>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    click () {
      console.log('点击了按钮');
    },
    clickDiv () {
      console.log('点击了div');
    }
  }
}
</script>

<style>

</style>